package com.bub.pay.framework.common.entity.model;

/**
 * 用户信息
 */
public class UserSession {

    /**
     * 登陆名
     */
    private String loginName;

    /**
     * 登陆IP
     */
    private String loginIp;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 认证token
     */
    private String authToken;

    /**
     * 商户/代理/管理 ID
     */
    private Long extendId;

    /**
     * 商户/代理/管理
     */
    private int userType;

    /**
     * 是否绑定谷歌
     */
    private int bindGoogle;

    /**
     * 绑定邮箱
     */
    private int bindEmail;

    /**
     * 绑定手机号
     */
    private int bindPhone;

    /**
     * 真实名称
     */
    private String realName;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 谷歌密钥
     */
    private String googleSecret;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 支付密码
     */
    private String payPass;

    /**
     *
     */
    private int isSys;

    /**
     * 用户角色名称
     */
    private String roleName;

    /**
     * 是否重置
     */
    private int resetFlag;

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getAuthToken() {
        return authToken;
    }

    public void setAuthToken(String authToken) {
        this.authToken = authToken;
    }

    public Long getExtendId() {
        return extendId;
    }

    public void setExtendId(Long extendId) {
        this.extendId = extendId;
    }

    public int getUserType() {
        return userType;
    }

    public void setUserType(int userType) {
        this.userType = userType;
    }

    public int getBindGoogle() {
        return bindGoogle;
    }

    public void setBindGoogle(int bindGoogle) {
        this.bindGoogle = bindGoogle;
    }

    public int getBindEmail() {
        return bindEmail;
    }

    public void setBindEmail(int bindEmail) {
        this.bindEmail = bindEmail;
    }

    public int getBindPhone() {
        return bindPhone;
    }

    public void setBindPhone(int bindPhone) {
        this.bindPhone = bindPhone;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getGoogleSecret() {
        return googleSecret;
    }

    public void setGoogleSecret(String googleSecret) {
        this.googleSecret = googleSecret;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPayPass() {
        return payPass;
    }

    public void setPayPass(String payPass) {
        this.payPass = payPass;
    }

    public int getIsSys() {
        return isSys;
    }

    public void setIsSys(int isSys) {
        this.isSys = isSys;
    }

    public int getResetFlag() {
        return resetFlag;
    }

    public void setResetFlag(int resetFlag) {
        this.resetFlag = resetFlag;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
}